package com.example.demo.core.page;

import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class QueryCondition extends PageDto {

    private Map<String, String> orderMap = Maps.newLinkedHashMap();

    private List<Attribute> whereList = Lists.newArrayList();

    @Data
    public static class Attribute {
        private String key;
        private String val;
        private String opt;
    }
}
